/* @(#)GSManufactureCategoryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen     2006-2-13    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.hitrust.gs.service.*;

/**
 *  订货单位的常用联系方式
 * */
public class GSOrderDeptInfoBean implements GSBaseBean {
	/**
	 * 订货单位编号
	 */
	private String gs_org_id;
	/**
	 * 送货地址编号
	 */
	private String gs_deliver_goods_addr_id;
	/**
	 * 送货地址
	 */
	private String gs_deliver_goods_addr;
	/**
	 * 订货联系人姓名
	 */
	private String gs_order_contact_name;
	/**
	 * 订货联系电话
	 */
	private String gs_order_contact_phone;
    

    public String getGs_deliver_goods_addr() {
		return gs_deliver_goods_addr;
	}
	public void setGs_deliver_goods_addr(String gs_deliver_goods_addr) {
		this.gs_deliver_goods_addr = gs_deliver_goods_addr;
	}
	public String getGs_deliver_goods_addr_id() {
		return gs_deliver_goods_addr_id;
	}
	public void setGs_deliver_goods_addr_id(String gs_deliver_goods_addr_id) {
		this.gs_deliver_goods_addr_id = gs_deliver_goods_addr_id;
	}
	public String getGs_order_contact_name() {
		return gs_order_contact_name;
	}
	public void setGs_order_contact_name(String gs_order_contact_name) {
		this.gs_order_contact_name = gs_order_contact_name;
	}
	public String getGs_order_contact_phone() {
		return gs_order_contact_phone;
	}
	public void setGs_order_contact_phone(String gs_order_contact_phone) {
		this.gs_order_contact_phone = gs_order_contact_phone;
	}


	public Object process(ResultSet aResultSet) throws SQLException {
		GSOrderDeptInfoBean tGSOrderDeptInfoBean = new GSOrderDeptInfoBean();
		tGSOrderDeptInfoBean.gs_deliver_goods_addr=aResultSet.getString("GS_DELIVER_GOODS_ADDR").trim();
		tGSOrderDeptInfoBean.gs_deliver_goods_addr_id=aResultSet.getString("GS_DELIVER_GOODS_ADDR_ID").trim();
		tGSOrderDeptInfoBean.gs_order_contact_name=aResultSet.getString("GS_ORDER_CONTACT_NAME")==null?"":aResultSet.getString("GS_ORDER_CONTACT_NAME").trim();
		tGSOrderDeptInfoBean.gs_order_contact_phone=aResultSet.getString("GS_ORDER_CONTACT_PHONE")==null?"":aResultSet.getString("GS_ORDER_CONTACT_PHONE").trim();
		tGSOrderDeptInfoBean.gs_org_id=aResultSet.getString("GS_ORG_ID").trim();
		return tGSOrderDeptInfoBean;
    }
    /**
     * 返回gs_org_id.
     */
    public String getGs_org_id() {
        return this.gs_org_id;
    }
    /**
     * @param aGs_org_id     赋值给gs_org_id.
     */
    public void setGs_org_id(String aGs_org_id) {
        this.gs_org_id = aGs_org_id;
    }
	
}
